<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="/lib/echarts.min.js"></script>
</head>

<body>
  <div id="main" style="height:600px;width:800px;"></div>
  <script>
    const myEcharts = echarts.init(document.getElementById('main'))
    const dataMax = [

    ]
    const option = {
      series: [
        {
          type: 'gauge',
          data: [
            {
              value: 97,
              itemStyle: {
                color: 'pink'
              }
            },
            {
              value: 66,
              itemStyle: {
                color: 'red'
              }
            }
          ],
          min: 50
        }
      ]
    }
    myEcharts.setOption(option)
  </script>
</body>

</html>